//
//  ClassCollectionReusableView.h
//  AmountBody
//
//  Created by smm on 2017/12/9.
//  Copyright © 2017年 RCMTM. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ClassModel.h"

typedef void (^HeaderTouchBlock)(ClassModel *model);
@interface ClassCollectionReusableView : UICollectionReusableView
//CollectionHeaderTypeForPhoto需要
@property (strong, nonatomic) UIImageView * image;
@property (strong, nonatomic) UIImageView * l_image;
//CollectionHeaderTypeForFont需要
@property (strong, nonatomic) UIView * newsView;
@property (strong, nonatomic) UIImageView *leftImage;
@property (strong, nonatomic) UILabel *centerLabel;
@property (strong, nonatomic) UIImageView *rightImage;
@property (strong, nonatomic) UILabel *contentLabel;
@property (assign, nonatomic) CGFloat Cell_W;
@property (assign, nonatomic) CGFloat Cell_H;
@property (assign, nonatomic) CGFloat offsetY;
@property (strong, nonatomic) ClassModel * model;
@property (assign, nonatomic) CollectionHeaderType headType;
-(void)loadHeaderWithModel:(ClassModel *)model;
+(void)blockForHeadTouch:(HeaderTouchBlock)headBlock;

@end
